package features;

public class NumericParameterWithTolerance {

	static public final int UM=0;
	static public final int MM=1;
	static public final int CM=2;
	static public final int M=3;
	static public final int RAD=4;
	static public final int DEGREE=5;
	
	Double value;
	int unit=1;
	double implicitTolerance;
	
	public NumericParameterWithTolerance(Double value, double implicitTolerance) {
		super();
		this.value = value;
		this.implicitTolerance = implicitTolerance;
	}

	public NumericParameterWithTolerance(Double value, int unit,
			double implicitTolerance) {
		super();
		this.value = value;
		this.unit = unit;
		this.implicitTolerance = implicitTolerance;
	}

	public Double getValue() {
		return value;
	}

	public void setValue(Double value) {
		this.value = value;
	}

	public int getUnit() {
		return unit;
	}

	public void setUnit(int unit) {
		this.unit = unit;
	}

	public double getImplicitTolerance() {
		return implicitTolerance;
	}

	public void setImplicitTolerance(double implicitTolerance) {
		this.implicitTolerance = implicitTolerance;
	}
	
	
	
}
